// import Mock from 'mockjs'
export default [
  {
    url: '/dictionary/getDictionatyByType',
    type: 'get',
    response: config => {
      const { type } = config.query
      const dictionary = {
        status: {
          '0': '停用',
          '1': '启用'
        },
        userType: {
          '0': '内部用户',
          '1': '外部用户'
        }
      }
      return {
        code: 0,
        message: '密码错误',
        data: dictionary[type] || {}
      }
    }
  }
]
